<?php

namespace app\admin\validate;

use think\Validate;

class QuestionValidate extends Validate
{
    protected $rule = [
       'cat_id|分类'  => 'require',
       'name|名称'  => 'require|max:25',
    ];

}